package com.zjw.springboot.controller;

import com.zjw.springboot.mapper.ByxAccountMapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author zhengjw
 * @version 2018/4/20 10:53
 */
@RestController
public class HelloController {

    @Resource
    private ByxAccountMapper byxAccountMapper;

    @RequestMapping("/")
    public String hello() {

        byxAccountMapper.deleteByPrimaryKey(100209000L);
        return "hello, spring-boot!";
    }
}
